Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PostEvent #872

Merged
merged 10 commits into from
Jan 2, 2025
Merged

Add PostEvent #872

merged 10 commits into from
Jan 2, 2025

Conversation

dani-moreno
Copy link
Collaborator

Description

PostEvent is one of the pieces of a Post in Communities. It's displayed when the post is an event, showcasing relevant information, like the date, title, and so on.

The component accepts an optional image, so we can show it if the user uploaded any. You will be greeted with a random cat every time you visit the story in Storybook, how cool is that?!

Screenshots

image

Default look, with an image

image

No image

image

Skeleton loading state

image

It also looks pretty dope in dark mode, yay!

image

It also truncates text when needed

Figma Link

Link to Figma Design


Type of Change

  • New experimental component
  • Promote component from experimental to stable
  • Maintenance / Bug Fix / Other

Copy link

github-actions bot commented Nov 20, 2024

🔍 Visual review for your branch is published 🔍

Here are the links to:

@dani-moreno dani-moreno marked this pull request as ready for review November 20, 2024 17:51
@dani-moreno dani-moreno requested a review from a team as a code owner November 20, 2024 17:51
@dani-moreno dani-moreno marked this pull request as draft November 28, 2024 19:20
@dani-moreno dani-moreno marked this pull request as ready for review November 29, 2024 09:36
lib/lib/date.ts Outdated Show resolved Hide resolved
lib/lib/date.ts Outdated Show resolved Hide resolved
@sauldom102 sauldom102 merged commit 4720045 into main Jan 2, 2025
10 checks passed
@sauldom102 sauldom102 deleted the add-postevent branch January 2, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants